class SweetVersioningMigration < ActiveRecord::Migration
  def self.up
    create_table :versions do |t|
      t.column :versionable_type, :string
      t.column :versionable_id, :string
      t.column :position, :integer
      t.column :created_at, :string
      t.column :data, :text
    end
  end

  def self.down
    drop_table :versions
  end
end
